package com.vcredit.creditcat.bean;

import org.springframework.stereotype.Component;

import com.alibaba.dubbo.config.annotation.Reference;
import com.vcredit.creditcat.api.ICustManager;
import com.vcredit.creditcat.model.Cust;

@Component
public class ReferenceCustManager {

	@Reference(version = "1.0")
	private ICustManager custManager;
	
	public Cust findCustById(Long custId) {
		return custManager.findById(custId);
	}
}
